﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace _0517
{
    public partial class frmMain : Form
    {
        public frmMain()
        {
            InitializeComponent();
        }

        private void 挂号ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmCer cer =new frmCer();
            cer.Show();

        }

        private void toolStripButton1_Click(object sender, EventArgs e)
        {
            frmCer cer = new frmCer();
            cer.Show();
        }

        private void 病例ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            
            frmSer set = new frmSer();
            set.Show();
        }

        private void toolStripButton2_Click(object sender, EventArgs e)
        {
            frmSer set = new frmSer();
            set.Show();
        }

        private void frmMain_Load(object sender, EventArgs e)
        {
            this.WindowState = FormWindowState.Maximized;
            this.timer1.Interval = 1000;
            this.timer1.Start();
        }

        private void timer1_Tick(object sender, EventArgs e)
        {
            this.toolStripStatusLabel6.Text = "系统当前时间：" + DateTime.Now.ToString("yyyy-MM-dd hh:mm:ss");
        }

        private void 药品ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            _0517病例系统.frmdrug drug = new _0517病例系统.frmdrug();
            drug.Show(); 
        }

        private void 收费ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            _0517病例系统.frmCharge charge = new _0517病例系统.frmCharge();
            charge.Show();
        }

        private void 版本信息ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            _0517病例系统.frmbanben ben = new _0517病例系统.frmbanben();
            ben.Show();
        }

        private void 退出系统ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            _0517病例系统.frmcontact contact = new _0517病例系统.frmcontact();
            contact.Show();
        }

        private void toolStripButton3_Click(object sender, EventArgs e)
        {
            _0517病例系统.frmdrug drug = new _0517病例系统.frmdrug();
            drug.Show();
        }

        private void toolStripButton4_Click(object sender, EventArgs e)
        {
            _0517病例系统.frmCharge ch = new _0517病例系统.frmCharge();
            ch.Show();
        }
        
    }
}
